<?php
require_once 'vendor/autoload.php';

use library\DaemonCore;
const ROOT_PATH = __DIR__;
const PID_FILE_PATH = __DIR__.DIRECTORY_SEPARATOR."runtime".DIRECTORY_SEPARATOR."pidfile".DIRECTORY_SEPARATOR."pid";


DaemonCore::$_logger = \library\Monolog::getLogger('system');
DaemonCore::$_appName = "panda";

if(DaemonCore::isRuning() == false){

    die("进程已关闭");
}

DaemonCore::stop();




